package com.zl.easybuy.mapper;

import com.zl.easybuy.bo.NewsBO;
import com.zl.easybuy.pojo.News;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NewsMapper {
    List<News> queryByage(@Param("newsBO") NewsBO newsBO);

    Long count(@Param("newsBO")NewsBO newsBO);

    News queryById(Integer id);
}
